package com.jacky;

import android.annotation.SuppressLint;
import android.media.MediaMetadataRetriever;

@SuppressLint("NewApi")
public class MediaMetadataRetrieverProxy extends MediaMetadataRetriever implements AutoCloseable {

    ///在android 9以下没有AutoCloseable，会报错，所以补上
    @Override
    public void close() {
        try {
            this.release();
        }catch (Exception e) {
            e.printStackTrace();
        }
    }
}
